set(target_name "02_timerqueue_mordern")
set(BASE_SRC
  ../logging/Logging.cc
  ../logging/LogStream.cc
  ../thread/Thread.cc
  ../datetime/Timestamp.cc
)

aux_source_directory(. SRC)

add_executable(${target_name} ${SRC} ${BASE_SRC})
# 开启编译器更多检测
if(COMPILEOPTIONS)
	include(ExtraWarnings)
	apply_extra_warnings_to_target(${target_name})
endif()

target_include_directories(
    ${target_name} 
    PRIVATE 
    ../
    .
)

target_link_libraries(
    ${target_name}
    PRIVATE 
    pthread
)